add rule to provide manpage for msgserv
authorGert Wollny <gewo@debian.org>
Sun, 6 Aug 2017 09:26:46 +0000 (09:26 +0000)
committerGert Wollny <gewo@debian.org>
Sun, 6 Aug 2017 11:48:22 +0000 (11:48 +0000)
debian/changelog
debian/control
debian/rules

index a96a3755139b2e4474891c2a23791fc59893f4b1..17adc46342d2b6b1be3061a1f159689662086420 100644 (file)
@@ -8,6 +8,7 @@ dcmtk (3.6.2-1~exp1) experimental; urgency=medium
   * d/copyright: add new files to copyright
   * d/rules: drop more test programs and add manpage for msgserv
   * d/rules enable use of C++11 features
+  * d/control: Add build dependency on help2man
 
  -- Gert Wollny <gewo@debian.org>  Wed, 02 Aug 2017 13:48:47 +0000
 
index de3cda4613a1aa68214bfcb228c71147f85160b6..c8fc61089ea9486b647508f6e0711929bc0351fa 100644 (file)
@@ -7,6 +7,7 @@ Section: science
 Priority: optional
 Build-Depends: cmake,
                debhelper (>= 9),
+               help2man,
                libcharls-dev,
                libpng-dev,
                libsndfile1-dev,
index 531490d09b80a10e2cdbc5bd0d8e5fd1fec7b496..3b027d5756baaece7d7ac06e638347f0cd4d5f82 100755 (executable)
@@ -53,7 +53,8 @@ override_dh_auto_build-arch:
        dh_auto_build
 
 override_dh_installman:
-       help2man --version-string 3.6.2 --no-info debian/dcmtk/usr/bin/msgserv  > msgserv.1
+       LD_LIBRARY_PATH=debian/libdcmtk12/usr/lib/ \
+       help2man --version-string 3.6.2 -n "msgserv: Sample message server for class DVPSIPCClient" --no-info debian/dcmtk/usr/bin/msgserv  > msgserv.1
        dh_installman msgserv.1
 
 # Let's be smart with building doc